home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Overload Trio 2
/
Shareware Overload Trio Volume 2 (Chestnut CD-ROM).ISO
/
dir34
/
diskpr10.zip
/
READ.ME
< prev
Wrap
Text File
|
1993-02-18
|
3KB
|
60 lines
DISKMAKE 1.0 by Gerald R. Brown
DISKMAKE is a batch file which with DRIVESTAT, PRUNE and
GETCHR, utilities written in MASM 6.0 and included with DISKMAKE,
and DOS' FORMAT, DISKCOPY and XCOPY commands, greatly simplifies
the process of transfering files to a diskette of a different
format. Its syntax is:
DISKMAKE <source> <target> [/M]
Source may be either a fully qualified pathname or drive
specifier and may exist on any but the target drive. The
target must be a drive specifier but cannot be a hard disk. If
the source is a pathname it will be copied to the root of the
target. All subdirectories of the source will be copied to
subdirectories of the target's root. If the "/M" option is used
the source will be moved or deleted after the copy.
DISKMAKE begins by checking that the source and target are
different drives. If they are the same it executes DOS' DISKCOPY
command using those parameters. If not it executes DISKPREP.
DISKPREP validates the command line, tests the source and target
drives and calculates the diskspace required by the source on the
target drive. If no errors are detected all files on the target
are deleted and an errorlevel of 0 is returned to DISKMAKE.BAT and
DOS' XCOPY command is executed using those parameters. If an
errorlevel of 31 (General Failure) is returned DISKMAKE will
prompt for the diskette's size and execute DOS' FORMAT command.
It will then execute DISKPREP again.
The errorlevel returned by DISKPREP represents DOS' error
code. The first thirty-one are included in DISKMAKE.BAT and
echoed to the user. Any syntax errors return an errorlevel of 11
(Invalid Format.) If the source and target are the same drive,
the target is a hard disk, the target drive is not large enough
for the source or no files are found in the source an errorlevel
of of 13 (Invalid Data,) is returned.
Users of DISKMAKE must accept this disclaimer of warranty:
"DISKMAKE is supplied as is. The author disclaims all warranties,
expressed or implied, including, without limitation, the warrant-
ies of merchantability and of fitness for any purpose. The author
assumes no liability for damages, direct or consequential, which
may result from the use of DISKMAKE."
You are encouraged to pass a copy of DISKMAKE along to your
friends for evaluation. Anyone distributing DISKMAKE for any kind
of remuneration must first contact me for authorization.
Gerald R. Brown
P.O. Box 1508
Bellflower, California 90707
(310)920-3566
CompuServe User ID: 71023,243
COPYRIGHT 1992 GERALD R. BROWN ALL RIGHTS RESERVED